Skip to content

Update get_header call sites - #584

Closed
DeepCogNeural wants to merge 1 commit into
stratum-mining:mainfrom
DeepCogNeural:codex/stratum-get-header
Closed

DeepCogNeural wants to merge 1 commit into
stratum-mining:mainfrom
DeepCogNeural:codex/stratum-get-header

Conversation

@DeepCogNeural

Copy link
Copy Markdown

Summary

  • Update sv2-apps call sites for Sv2Frame::get_header() returning Header directly.
  • Remove impossible missing-header branches and obsolete unwrap/expect handling.
  • Drop imports that only supported the old missing-header path.

Companion for stratum-mining/stratum#2211.

Verification

  • cargo fmt --all --check in integration-tests, miner-apps, pool-apps, and stratum-apps
  • git diff --check
  • cargo check --manifest-path integration-tests/Cargo.toml --config 'patch.crates-io.stratum-core.path="/Users/linghao/Github/stratum/stratum-core"' --config 'patch."https://github.com/stratum-mining/stratum".stratum-core.path="/Users/linghao/Github/stratum/stratum-core"'

Note: local verification uses the Stratum PR checkout as the patched stratum-core, matching the integration-test workflow's companion-PR dependency override.

@DeepCogNeural

Copy link
Copy Markdown
Author

Closing this companion because stratum-mining/stratum#2211 was closed after the upstream API changed. This patch targets that old API proposal and is no longer appropriate to merge as-is. Thanks for maintaining the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant